﻿@model ProductsListViewModel
@{
    ViewData["Title"] = "Index";
}

<h2>Index</h2>

@foreach (var product in Model.Products)
{
    @Html.Partial("ProductSummary",product)
}

<div page-model="@Model.PagingInfo" page-action="Index" page-classes-enabled="true" page-class="btn" page-class-normal="btn-secondary" page-url-category="@Model.CurrentCategory" page-class-selected="btn-primary" class="btn-group pull-right m-1"></div>

